clear all
close all
clc
s=[]


% v=[]
% for k=1:194,
% filename=['test',num2str(k),'.dat'];
% fid=fopen(filename,'r','b');
% [buf, count]=fread(fid,'*uint32');
% 
% stat=fclose(fid);
% s1=buf(1:4:end);
% v=[v s1'];
% end
% plot(v,'.-b')
% return

filename=['test.dat'];
fid=fopen(filename,'r','b');
[buf, count]=fread(fid,'*uint32');

stat=fclose(fid);
s1=buf(1:4:end);
s2=buf(2:4:end);
s3=buf(3:4:end);
s4=buf(4:4:end);
plot(s1,'.-b')
hold on
plot(s2,'.-k')
plot(s3,'.-g')
plot(s4,'.-r')
